<?php
class App_Shop_Banner extends Data_Item
{
    public function __construct ()
    {
        parent::__construct();
        $this->_commTableName = 'shop_banner';
    }

    public function banners ()
    {
        $ret = $this->items(NULL, array('sort', 'asc'), 0, 5);
        return $ret;
    }
}
